package com.ruoyi.equipment.domain;

import com.ruoyi.common.annotation.Excels;
import com.ruoyi.common.core.domain.entity.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓匣对象 t_drawer
 * 
 * @author ruoyi
 * @date 2021-12-20
 */
public class TDrawer extends BaseEntity
{
    public TDrawer() {
    }

    private String drawerId;

    public String getDrawerId() {
        return drawerId;
    }

    public void setDrawerId(String drawerId) {
        this.drawerId = drawerId;
    }

    /** 设备id */
    @Excel(name = "设备id")
    private String equipmentId;

    /** 仓匣编号 */
    @Excel(name = "仓匣编号")
    private Integer drawerNo;

    /** 仓匣备注 */
    @Excel(name = "仓匣备注")
    private String drawerRemark;

    /** 工具 */
    /** 部门对象 */
    @Excels({
            @Excel(name = "工具备注", targetAttr = "remark", type = Excel.Type.EXPORT)
    })
    private TTools tTools;

    public TTools gettTools() {
        return tTools;
    }

    public void settTools(TTools tTools) {
        this.tTools = tTools;
    }

    /** 工具编号 */
    @Excel(name = "工具编号")
    private Integer toolId;

    /** 仓匣状态 */
    @Excel(name = "仓匣状态")
    private Integer drawerStatus;

    @Excel(name="工具状态")
    private Integer drawerStu;

    public Integer getDrawerStu() {
        return drawerStu;
    }

    public void setDrawerStu(Integer drawerStu) {
        this.drawerStu = drawerStu;
    }

    public void setEquipmentId(String equipmentId)
    {
        this.equipmentId = equipmentId;
    }

    public String getEquipmentId() 
    {
        return equipmentId;
    }
    public void setDrawerNo(Integer drawerNo) 
    {
        this.drawerNo = drawerNo;
    }

    public Integer getDrawerNo() 
    {
        return drawerNo;
    }
    public void setDrawerRemark(String drawerRemark) 
    {
        this.drawerRemark = drawerRemark;
    }

    public String getDrawerRemark() 
    {
        return drawerRemark;
    }
    public void setToolId(Integer toolId) 
    {
        this.toolId = toolId;
    }

    public Integer getToolId() 
    {
        return toolId;
    }
    public void setDrawerStatus(Integer drawerStatus) 
    {
        this.drawerStatus = drawerStatus;
    }

    public Integer getDrawerStatus() 
    {
        return drawerStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("equipmentId", getEquipmentId())
            .append("drawerNo", getDrawerNo())
            .append("drawerRemark", getDrawerRemark())
            .append("toolId", getToolId())
            .append("drawerStatus", getDrawerStatus())
            .append("drawerId",getDrawerId())
            .append("tTools",gettTools())
            .toString();
    }
}
